import { FC, useEffect } from 'react';
import { useParams } from 'react-router-dom';
import { useTypeSelector } from '@/store/hook';
import { Button } from 'antd';
const Contact: FC = () => {
  const { score } = useTypeSelector((state) => state.paper);
  const { id } = useParams();

  useEffect(() => {
    console.log('effect');
  }, []);
  return (
    <>
      contact{id}
      {score}
      <Button>12</Button>
    </>
  );
};

export default Contact;
